package de.fhkl.strokeprotocol.listeners;

import de.fhkl.strokeprotocol.messages.IMessage;

/**
 * Every Listener that should be informed whenever the StrokeInputReader
 * receives a new incoming message must implement this Interface.
 */
public interface IMessageListener
{
	/**
	 * Is called whenever a new message for this listener is received.
	 * 
	 * @param message
	 *            received message
	 */
	public void onMessage(IMessage message);
}
